package com.icepuppet.controller;

import com.icepuppet.demo.Result;
import com.icepuppet.demo.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ResultController {
    @RequestMapping("/resultJson")
    public Result userJson(User user){
        System.out.println(user);
        return Result.success(user);
    }
}
